<template>
	<view class="container">
		<view class="header">
			<text class="title">积分商城</text>
			<view class="points">可用积分 0</view>
		</view>
		<view class="nav">
			<view class="nav-item">积分明细</view>
			<view class="nav-item">兑换记录</view>
			<view class="nav-item">积分规则</view>
		</view>
		<view class="items">
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">外卖免配送费券</text>
					<text class="item-points">200 积分</text>
				</view>
			</view>
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">要吃点（1件）兑换券</text>
					<text class="item-points">300 积分</text>
				</view>
			</view>
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">百货｜浓果茶10元优惠券</text>
					<text class="item-points">50 积分</text>
				</view>
			</view>
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">百货｜一周茶5元优惠券</text>
					<text class="item-points">20 积分</text>
				</view>
			</view>
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">多肉青提赠饮券</text>
					<text class="item-points">赠饮券</text>
				</view>
			</view>
			<view class="item">
				<image class="item-image" src="../../static/ab4e8b6aba5d46b5a389a090f6dcdd44.gif"></image>
				<view class="item-info">
					<text class="item-title">椰椰芒芒赠饮券</text>
					<text class="item-points">赠饮券</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// data properties
			}
		},
		methods: {
			// method properties
		}
	}
</script>

<style scoped>
	.container {
		padding: 20rpx;
	}

	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10rpx 0;
		border-bottom: 1rpx solid #ccc;
	}

	.title {
		font-size: 36rpx;
		font-weight: bold;
	}

	.points {
		font-size: 32rpx;
	}

	.nav {
		display: flex;
		justify-content: space-between;
		margin: 20rpx 0;
		border-bottom: 1rpx solid #ccc;
	}

	.nav-item {
		flex: 1;
		text-align: center;
		padding: 10rpx 0;
		font-size: 28rpx;
		color: #666;
	}

	.items {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.item {
		width: 48%;
		margin-bottom: 20rpx;
		border: 1rpx solid #eee;
		border-radius: 8rpx;
		overflow: hidden;
		background-color: #fff;
	}

	.item-image {
		width: 100%;
		height: auto;
	}

	.item-info {
		padding: 10rpx;
	}

	.item-title {
		font-size: 28rpx;
		margin-top: 10rpx;
		color: #333;
	}

	.item-points {
		font-size: 24rpx;
		color: #888;
	}
</style>
